package com.neo.springcloud.alibaba.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @ClassName: Storage
 * @Title: cloud2021
 * @Package: com.neo.springcloud.alibaba.domain
 * @Description:
 * @Author: Kisen
 * @Date: 2021/11/25 21:59
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Account {

    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 总额度
     */
    private BigDecimal total;
    /**
     * 已用额度
     */
    private BigDecimal used;
    /**
     * 剩余额度
     */
    private BigDecimal residue;
}
